#include <iostream>
#include <cstdio>
using namespace std;

int main(int argc, char const *argv[]){
    int height;
    while(scanf("%d", &height) != EOF){
        int max_line = height + (height-1) * 2;
        for (int i = 0; i < height; i++){
            for (int j = 0; j < max_line; j++){
                if (j < max_line - height - i*2)
                    printf(" ");
                else
                    printf("*");
            }
            printf("\n");
        }
    }
    return 0;
}
